package com.qf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.Emotions;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 心情(Emotions)表数据库访问层
 *
 * @author makejava
 * @since 2024-11-08 12:06:17
 */
@Mapper
public interface EmotionsDao extends BaseMapper<Emotions> {
    //入一条新的情绪记录
    int insertEmotion(Emotions emotions);

    //更新
    int updateEmotions(Emotions emotions);

    //删除
    int deleteEmotions(Emotions emotions);

    //查询
    List<Emotions> selectByEmotions(Emotions emotions);


}

